using System;
using System.Collections.Generic;
using ilgolosone.Shared.Domain;

namespace ilgolosone.DomainModel.Entities
{
    [Serializable]
    public class Specialty : EntityBase, IAggregateRoot
    {
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string ImagePath { get; set; }
        public virtual IList<Dish> Dishes { get; private set; }

        public Specialty()
            : this(string.Empty, string.Empty, string.Empty)
        { }

        public Specialty(string name, string description, string imagePath)
        {
            Name = name;
            Description = description;
            ImagePath = imagePath;
        }

        public override string ToString()
        {
            return Name;
        }
    }
}